﻿img#bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 8;
}

.overlay-bg {
	background-image: url(../Images/pattern.png);
	background-color: rgba(0, 0, 0, 0.4);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-height: 100%;
	z-index: 9;
}

img#bg.ng-hide-add,
img#bg.ng-hide-remove {
  -webkit-transition: all linear 1s;
  -moz-transition: all linear 1s;
  -o-transition: all linear 1s;
  transition: all linear 1s;
  display: block!important;
}

img#bg.ng-hide-add.ng-hide-add-active,
img#bg.ng-hide-remove {
  opacity: 0;
}

img#bg.ng-hide-add,
img#bg.ng-hide-remove.ng-hide-remove-active {
  opacity: 1;
}